﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;

namespace Aliyeye.Car.Net.UI.Components
{
    public partial class BlueButton : Button
    {
        public bool IsButtonEnable
        {
            get {
                return this.Enabled;
            }
            set {
                this.Enabled = value;
                if (value)
                    this.BackgroundImage = Aliyeye.Car.Net.UI.Properties.Resources.button_bg;
                else
                    this.BackgroundImage = Aliyeye.Car.Net.UI.Properties.Resources.button_bg;
            }
        }

        public BlueButton()
        {
            InitializeComponent();
            if (this.Enabled)
                this.BackgroundImage = Aliyeye.Car.Net.UI.Properties.Resources.button_bg;
            else
                this.BackgroundImage = Aliyeye.Car.Net.UI.Properties.Resources.button_bg;
        }

        
    }
}
